package bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Auther:ws@itany.com
 * Date:20-9-15 下午3:50
 * Version:1.0
 * Description:
 */
@Component
public class SomeBean {
    @Autowired
    private OtherBean otherBean;

    @Override
    public String toString() {
        return "SomeBean{" +
                "otherBean=" + otherBean +
                '}';
    }

    public OtherBean getOtherBean() {
        return otherBean;
    }

    public void setOtherBean(OtherBean otherBean) {
        this.otherBean = otherBean;
    }
}
